package com.xinke.module.system.model.vo.mail;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.xinke.component.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.xinke.component.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 邮箱账号分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MailAccountPageReqVO extends PageParam {

    @Schema(description = "邮箱")
    private String mailAddress;

    @Schema(description = "用户名", example = "张三")
    private String userName;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "SMTP 服务器域名")
    private String smtpHost;

    @Schema(description = "SMTP 服务器端口")
    private Integer smtpPort;

    @Schema(description = "是否开启 SSL")
    private Integer sslEnable;

    @Schema(description = "是否开启 STARTTLS")
    private Integer starttlsEnable;

}